From: Sebastien Lafargue Date: Sun, 20 Oct 2013 13:03:18 +0000 (+0200) Subject: need space between item in endsession dialog session-list and app-list X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3163 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=d47ecf19f56ba04c6c21f03ec7b2170b392b6892;p=gnome-shell.git need space between item in endsession dialog session-list and app-list https://bugzilla.gnome.org/show_bug.cgi?id=710543 --- diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css index 68f865d8b..b3371d3d4 100644 --- a/data/theme/gnome-shell.css +++ b/data/theme/gnome-shell.css @@ -1967,6 +1967,11 @@ StScrollBar StButton#vhandle:active { padding-left: 50px; } +.end-session-dialog-session-list, +.end-session-dialog-app-list { + spacing: 1em; +} + .end-session-dialog-list-header { font-weight: bold; } diff --git a/js/ui/endSessionDialog.js b/js/ui/endSessionDialog.js index 457b319bf..11f619ae1 100644 --- a/js/ui/endSessionDialog.js +++ b/js/ui/endSessionDialog.js @@ -273,13 +273,15 @@ const EndSessionDialog = new Lang.Class({ this._applicationHeader = new St.Label({ style_class: 'end-session-dialog-list-header', text: _("Some applications are busy or have unsaved work.") }); - this._applicationList = new St.BoxLayout({ vertical: true }); + this._applicationList = new St.BoxLayout({ style_class: 'end-session-dialog-app-list', + vertical: true }); this._inhibitorSection.add_actor(this._applicationHeader); this._inhibitorSection.add_actor(this._applicationList); this._sessionHeader = new St.Label({ style_class: 'end-session-dialog-list-header', text: _("Other users are logged in.") }); - this._sessionList = new St.BoxLayout({ vertical: true }); + this._sessionList = new St.BoxLayout({ style_class: 'end-session-dialog-session-list', + vertical: true }); this._inhibitorSection.add_actor(this._sessionHeader); this._inhibitorSection.add_actor(this._sessionList);